package com.nsu.cl.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsu.cl.pojo.Grade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * @author 52618
 * @description 针对表【grade(年级表)】的数据库操作Mapper
 * @createDate 2023-02-16 14:21:02
 * @Entity com.nsu.cl.pojo.Grade
 */
@Repository
public interface GradeMapper extends BaseMapper<Grade> {
    Grade getGradeById(Long gradeId);

    Page<Grade> getInfo(Page<Grade> pageParam, String name);

    Grade getGradeInfoById(Long id);

    List<Grade> getGradeList();
}




